package main

import (
	"fmt"

	"github.com/gogf/gf/g"

	erwang "github.com/zhongdalu/DoorValveErWang"
)

func main() {
	fmt.Println("开启户阀平衡")
	erwang.Bind(g.Config().GetString("url.http"), g.Config().GetString("url.ws"))
	g.Server().SetPort(g.Config().GetInt("url.port"))
	g.Server().Run()
}
